

//wrapper 排序枚举类
export const enum OrderEnums {

  WRAPPER_ORDER_ASC = "ASC", //ASC

  WRAPPER_ORDER_DESC = "DESC"//DESC

}

//wrapper 查询值类型枚举
export const enum ConditionsTypeEnums {

  WRAPPER_CONDITION_TYPE_CODE = "CODE", //码表取值

  WRAPPER_CONDITION_TYPE_DEPT = "DEPT", //部门

  WRAPPER_CONDITION_TYPE_USERID = "USERID",//userId

  WRAPPER_CONDITION_TYPE_STRING = "String", //String,

  WRAPPER_CONDITION_TYPE_DATE = "Date", //Date,

  WRAPPER_CONDITION_TYPE_DATETIME = "DateTime", //DateTime,

}

//对应 sql where 条件 操作符
export const enum OperatorTypeEnums {

  //匹配操作
  WRAPPER_CONDITION_TYPE_EQ = "EQ", // =
  WRAPPER_CONDITION_TYPE_NEQ = "NEQ", // !=  ||  <>
  //模糊操作
  WRAPPER_CONDITION_TYPE_LIKE = "LIKE", // %{}%
  WRAPPER_CONDITION_TYPE_LIKE_LEFT = "LIKE_LEFT", // {}%
  WRAPPER_CONDITION_TYPE_NOT_LIKE = "NOT_LIKE", // NOT LIKE '%{}%
  //null 操作
  WRAPPER_CONDITION_TYPE_IS_NULL = "IS_NULL", //  IS NULL
  WRAPPER_CONDITION_TYPE_NOT_NULL = "NOT_NULL", // IS NOT NULL
  //in 操作
  WRAPPER_CONDITION_TYPE_IN = "IN", // IN
  WRAPPER_CONDITION_TYPE_NOT_IN = "NOT_IN", // NOT IN
  //范围操作
  WRAPPER_CONDITION_TYPE_BETWEEN = "BETWEEN", // BETWEEN {} AND {}
  WRAPPER_CONDITION_TYPE_NOT_BETWEEN = "NOT_BETWEEN", // NOT BETWEEN {} AND {}

}
